﻿@model MvcWeb.ViewModels.Manager.ManagerModel
@{
    ViewBag.Title = "资产编辑";
}
<div style="padding: 10px;">
    <div style="padding-bottom: 5px;">
        <input type="button" onclick="history.go(-1)" value="返回资产列表" class="btn_green" />
    </div>
    <div style="line-height: 30px; font-weight: bold; color: Red;">
    </div>
    @using (Html.BeginForm())
    {
        <table class="tb">
            <tr>
                <td>类型</td>
                <td>
                    @Html.DropDownListFor(m => m.assetManagerModel.AssetCID, (SelectList)ViewData["categoryTypeList"], "请选择类型")
                    @Html.ValidationMessageFor(m => m.assetManagerModel.AssetCID,"类型是必选字段")
                </td>
            </tr>
            <tr>
                <td>数量</td>
                <td>
                    @Html.TextBoxFor(m => m.assetManagerCount, new { @Value="1" })
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <input type="submit" value="添加" class="btn_green" />
                </td>
            </tr>
        </table>
    }
</div>
